import React, { FC } from 'react';
import { View, Text } from '@tarojs/components';
import { styled } from 'linaria/react';
import { useClassName } from '@/utils/index';
import RootPageComponent from '@/pages/components/RootPageComponent/RootPageComponent';
import LoginBtn from './LoginBtn/LoginBtn';
import UserPrivacyAgreement from './UserPrivacyAgreement/UserPrivacyAgreement';
export interface IProps extends ICompProps {}
BottomContainer.defaultProps = {} as Partial<IProps>;
function BottomContainer(props: IProps) {
    const { className, style } = props;
    const localClassName = useClassName('BottomContainer', className);
    return (
        <RootView className={localClassName} style={style}>
            <LoginBtn></LoginBtn>
            <UserPrivacyAgreement></UserPrivacyAgreement>
        </RootView>
    );
}
export default React.memo(BottomContainer as FC<IProps>);
const RootView = styled(View)`
    &.BottomContainer {
        width: 100%;
        padding: 0 80px;
        position: fixed;
        bottom: 140px;
    }
`;
